/*
 * @(#)Student.java 2013-9-22
 * 
 * Copy Right@ 纽海信息技术有限公司
 */ 

package bean;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;


/**
 * <pre>
 * @author zhangtengfei
 *
 *
 * 创建日期: 2013-9-22
 * 修改人 :  
 * 修改说明: 
 * 评审人 ：
 * </pre>
 */
@XmlRootElement(name = "student")
public class Student implements Serializable{

    private static final long serialVersionUID = -4897687701584156505L;

    private String name ;
    private int age;
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public int getAge() {
        return age;
    }
    
    public void setAge(int age) {
        this.age = age;
    }
    @Override
    public String toString() {
        return "Student: name="+name+" and age="+age;
    }
}
